package cn.sofwin.day0105;

import java.util.Scanner;

public class Test05 {
    public static void main(String[] args){
        int days,week,leftDay;
        Scanner in = new Scanner(System.in);

        System.out.println("请输入天数：");
        days = in.nextInt();

        week=days/7;
        leftDay=days%7;

        System.out.println("周数为："+week);
        System.out.println("剩余天数为："+leftDay);



    }
}
